package cn.bdqn.domain;

import java.io.Serializable;

/**
 * 司机实体类
 * @author dkj
 */
public class Driver implements Serializable {

    /**
     * id
     */
    private Integer id;

    /**
     * 司机名字
     */
    private String driverName;

    /**
     * 司机性别   1 男   2女
     */
    private Integer driverSex;

    /**
     * 司机手机号
     */
    private String driverPhone;

    /**
     * 司机状态   1 空闲  2 运输
     */
    private Integer driverType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName == null ? null : driverName.trim();
    }

    public Integer getDriverSex() {
        return driverSex;
    }

    public void setDriverSex(Integer driverSex) {
        this.driverSex = driverSex;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone == null ? null : driverPhone.trim();
    }

    public Integer getDriverType() {
        return driverType;
    }

    public void setDriverType(Integer driverType) {
        this.driverType = driverType;
    }

    @Override
    public String toString() {
        return "Driver{" +
                "id=" + id +
                ", driverName='" + driverName + '\'' +
                ", driverSex=" + driverSex +
                ", driverPhone='" + driverPhone + '\'' +
                ", driverType=" + driverType +
                '}';
    }
}
